package org.csu.mypetstore.api.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.math.BigDecimal;

@Data
@TableName("lineitem")
public class LineItem {

    private int orderid;
    private int linenum;
    private String itemid;
    private int quantity;
    private BigDecimal unitprice;

    public int getOrderid() {
        return orderid;
    }

    public void setOrderid( int orderid ) {
        this.orderid = orderid;
    }

    public int getLinenum() {
        return linenum;
    }

    public void setLinenum( int linenum ) {
        this.linenum = linenum;
    }

    public String getItemid() {
        return itemid;
    }

    public void setItemid( String itemid ) {
        this.itemid = itemid;
    }

    public int getQuantity() {
        return quantity;
    }

    public void setQuantity( int quantity ) {
        this.quantity = quantity;
    }

    public BigDecimal getUnitprice() {
        return unitprice;
    }

    public void setUnitprice( BigDecimal unitprice ) {
        this.unitprice = unitprice;
    }
}
